<template>
  <div>
    <Header/>
    <router-view></router-view>
    <Footer v-show="!$route.meta.isFooterHide"/>
  </div>
</template>

<script>
import { mapActions} from "vuex";
import Footer from '@comp/Footer'
import Header from '@comp/Header'

export default {
  name: 'App',
  mounted(){
    //三级列表请求
    this.categoryListAction();
  },
  methods:{
    ...mapActions("home", ["categoryListAction"]),
  },
  components: {
    Footer,
    Header
  }
}
</script>

<style>

</style>
